package com.hznu.ez4life.modules.entity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author DragonDoor
 * @since 2019-07-25
 */
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String openid;
    private String nickname;
    private String imgurl;
    private Integer sex;
    private String phone;
    /**
     * 1-普通用户，3-管理员
     */
    private Integer type;
    /**
     * 1-可用,2-禁用
     */
    private Integer statu;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatu() {
        return statu;
    }

    public void setStatu(Integer statu) {
        this.statu = statu;
    }

    @Override
    public String toString() {
        return "User{" +
        ", id=" + id +
        ", openid=" + openid +
        ", nickname=" + nickname +
        ", imgurl=" + imgurl +
        ", sex=" + sex +
        ", phone=" + phone +
        ", type=" + type +
        ", statu=" + statu +
        "}";
    }
}
